<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/9/5
  Time: 16:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>User</title>
    <link rel="stylesheet" href="/css/admin.css">
</head>
<body>
<div class="box1">
    <h2>管理员账户管理</h2>
    <form>

        <input type="hidden" id="id" name="id" value="${admin.id}">
<%--        <table border="1">--%>
<%--            <tr>--%>
<%--                <td>账号：</td>--%>
<%--                <td>${admin.name}</td>--%>
<%--            </tr>--%>
<%--            <tr>--%>
<%--                <td>密码：</td>--%>
<%--                <td>${admin.password}</td>--%>
<%--            </tr>--%>
<%--        </table>--%>
        <label>账号</label>
        <input type="text" value="${admin.name}" readonly>
        <br>
        <label>密码</label>
        <input type="text" value="${admin.password}" readonly>
        <br>
        <button><a href="/toAdminRegister">添加管理员</a></button><br>
        <button><a href="/toUpdateAdmin">修改密码</a></button>

        <br><br>

    </form>
</div>
</body>
</html>
